package com.qk.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.domain.business.BusinessDO;
import com.qk.domain.business.BusinessPoolDO;
import com.qk.dto.business.BusinessAddDTO;
import com.qk.dto.business.BusinessDTO;
import com.qk.dto.business.BusinessFollowDTO;
import com.qk.dto.business.BusinessPoolDTO;
import com.qk.entity.Business;
import com.qk.vo.business.BusinessVO;

/**
 * @Author ZgYn
 * @Date 2025/10/15 10:53
 * @Name BusinessService
 */
public interface BusinessService extends IService<Business> {
    PageResult<BusinessDO> getList(BusinessDTO dto);

    void addBusiness(BusinessAddDTO dto);

    BusinessVO getBusinessById(Integer id);

    void businessFollow(BusinessFollowDTO dto);

    PageResult<BusinessPoolDO> getPool(BusinessPoolDTO dto);

    void toCustomer(Integer id);

    void backToPool(Integer id);
}
